package person.csx.studentgradle.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

//@Component("athena")
//lombok的注解，省略get,set方法
@Getter@Setter@ToString
public class Student {
   // @Value("athena")
    private int id;
    private  String name;
  //  @Value("123")
    //@TableField()
    private  String password;
  //  @Value("20")
    private  int sex;
    private  String clazz;
    private  String birthday;
    //按“沪C0555”标识自动注入bean
  //  @Autowired
  //  @Qualifier("沪C0555")
  //  List<Car> cars;

   /* public Student(String name, String pwd, int age,List<Car> cars) {
        this.name = name;
        this.pwd = pwd;
        this.age = age;
        this.cars=cars;
    }*/
//alt+insert

}
